


        Vue.component('v-header',{
            template:`<header>
               
        </header>`,
            data:function(){
                return{
                    nav:[],
                }
            },
            created:function(){
                //nav
                axios.get(dataUrl + 'api/getNavbar',{
                    headers:{
                        Authorization: headers
                    }
                }).then((res) => {
                    //console.log(res.data.data);
                    this.nav = res.data.data;
                })
                
                axios.post(dataUrl + 'api/getBanner',{identification:'COMMON_ICON'},{
                    headers:{
                      Authorization: headers
                    }
                })
                .then((res) => {

                })
            }
        });